package com.circle.rest.modular.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.circle.rest.modular.sys.model.User;

import java.util.List;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author 赵航
 * @since 2019-03-05
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 查找符合通知条件的用户
     *
     * @param dept
     * @param role
     * @param include
     * @param notInclude
     * @return
     */
    List<User> selectNotifyUsers(String dept, String role, String include, String notInclude);
}
